time
main
common
time
/
[root]
/
nextSecond
next
Second
fun
Clock
.
nextSecond
(
timeZone
:
TimeZone
=
TimeZone.currentSystemDefault()
)
:
TimePeriod
<
TimeUnit.Second
>
val
<
Unit
:
SecondOrSmaller
,
TimeUnit
>
TimePeriod
<
Unit
>
.
nextSecond
:
TimePeriod
<
Unit
>
Create a new
TimePeriod
by moving forward one second.